package cn.yanxiaohui.common.mapper;

/**
 * mapper的基类
 * @author yanxiaohui
 *
 * @param <T>
 */
public interface BaseMapper<T> {
	
    int deleteByPrimaryKey(Long id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
